#define _CRT_SECURE_NO_WARNINGS 1

#include "O_HashTable.h"
#include <iostream>
using namespace open_address;
using namespace std;
int main()
{
	//HashTable<int,int> ht1;
	//ht1.Insert({1,1});
	//ht1.Insert({2,2});
	//ht1.Insert({11,11});
	//ht1.Insert({22,22});
	//ht1.Insert({22,22});
	//ht1.Insert({3,3});
	//ht1.Insert({4,4});
	//ht1.Insert({5,5});
	//ht1.Insert({6,6});
	//ht1.Insert({7,7});
	//ht1.Erase(1);
	//
	//cout<< ht1.Find(22)->_val.second<<endl;
	////cout<< ht1.Find(1)->_val.second<<endl;
	//cout<< ht1.Find(2)->_val.second<<endl;
	//cout<< ht1.Find(11)->_val.second<<endl;
	//cout<< ht1.Find(7)->_val.second<<endl;
	
	HashTable<string, int> ht2;
	ht2.Insert({ "a", 1 });
	ht2.Insert({ "b", 2 });
	ht2.Insert({ "c", 3 });
	ht2.Insert({ "def", 3 });
	ht2.Insert({ "ght", 3 });
	return 0;
}